﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IFPRJ.EF.Model;

namespace IFPRJ.EF.DALayer
{
    public interface INews
    {
        bool NewsCreate(News news);
        bool NewsUpdate(News news);
        bool NewsDelete(News news);
        List<News> NewsLoadAll();
        News NewsGetSingleByNewsId(int newsid);
        List<News> NewsGetListByCatoryId(int catoryid);
    }
}
